package com.hdoit.pisces.web.rel.modelconfig;

//import com.hdoit.pisces.web.rel.providers.BloodTypeProvider;
import com.tennetcn.common.enums.regular.RegularExpressions;
import com.tennetcn.component.attribute.DateAttribute;
import com.tennetcn.component.attribute.DisplayNameAttribute;
import com.tennetcn.component.attribute.DropDownListAttribute;
import com.tennetcn.component.attribute.RegularExpressionAttribute;
import com.tennetcn.component.attribute.RequiredAttribute;
import com.tennetcn.component.attribute.base.ModelMetadataAttributeConfiguration;
import com.tennetcn.web.cbase.providers.SexProvider;

public class RelativeConfig extends ModelMetadataAttributeConfiguration{
	public RelativeConfig(){
		this.setProperty("relative_firstName")
		.hasAttribute(new DisplayNameAttribute("亲属姓"))
		.hasAttribute(new RequiredAttribute("姓为必填项"));
	
	this.setProperty("relative_lastName")
		.hasAttribute(new DisplayNameAttribute("亲属名"))
		.hasAttribute(new RequiredAttribute("亲属名为必填项"));
	
	this.setProperty("relative_province")
		.hasAttribute(new DisplayNameAttribute("亲属籍贯"));
	
	this.setProperty("relative_birthday")
		.hasAttribute(new DisplayNameAttribute("亲属出生日期"))
		.hasAttribute(new DateAttribute());
	
	this.setProperty("relative_deathday")
		.hasAttribute(new DisplayNameAttribute("亲属死亡日期"))
		.hasAttribute(new DateAttribute());

	this.setProperty("relative_job")
		.hasAttribute(new DisplayNameAttribute("亲属工作"));
		
	
	this.setProperty("relative_nation")
		.hasAttribute(new DisplayNameAttribute("亲属名族"));
		
	
	this.setProperty("relative_buryAddress")
		.hasAttribute(new DisplayNameAttribute("亲属埋葬地"));
	
	this.setProperty("relative_information")
		.hasAttribute(new DisplayNameAttribute("亲属信息"));
	
	this.setProperty("eventDate")
	.hasAttribute(new DisplayNameAttribute("日期"))
	.hasAttribute(new RequiredAttribute("日期为必填项"));
	
	this.setProperty("eventInfo")
	.hasAttribute(new DisplayNameAttribute("日期"))
	.hasAttribute(new RequiredAttribute("日期为必填项"));
	
	
	
	}

	
	
	
	
	
}
